package com.wuyoucar.service.impl;

import com.wuyoucar.entity.TReal;
import com.wuyoucar.mapper.TRealMapper;
import com.wuyoucar.service.TRealService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TRealServiceImpl implements TRealService {
    @Autowired
    private TRealMapper tRealMapper;
    @Override
    public int addCard(TReal tReal) {
        return tRealMapper.addCard(tReal);
    }

    @Override
    public TReal selReal(Integer applyerid) {
        return tRealMapper.selReal(applyerid);
    }

    @Override
    public int alterReal(TReal tReal) {
        return tRealMapper.alterReal(tReal);
    }

    @Override
    public int real(Integer applyerid) {
        return tRealMapper.real(applyerid);
    }
}
